<div id="main">
<div id="contents">
<form method="post" action="#" name="filters">
<fieldset>
    <legend>
        <label sid="lineoptional.table1_select1_option1"></label>
    </legend>
    <div class="frame_tab_layer">
        <table class="cmenutitle" width="100%" cellspacing="0" cellpadding="0" border="0">
            <tbody>
            <tr id="tr64">
                <td class="frame_tab_left">
                    <span id="img64" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="sysoptional.table2_td1"></label>
                    </label>
                </td>
                <td id="td64" class="frame_tab_right">
                    <select onchange="read();" name="id64">
                        <option value="2833" sid="sysoptional.table2_select1_option1"></option>
                        <option value="AUDIO" sid="sysoptional.table2_select1_option2"></option>
                        <option value="INFO" sid="sysoptional.table2_select1_option3"></option>
                    </select>
                    <span id="msg64">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr156">
                <td class="frame_tab_left">
                    <span id="img156" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="sysoptional.table2_td2"></label>
                    </label>
                </td>
                <td id="td156" class="frame_tab_right">
                    <input type="text" name="id156">
                    <span id="msg156">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr223">
                <td class="frame_tab_left">
                    <span id="img223" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="sysoptional.table2_td3"></label>
                    </label>
                </td>
                <td id="td223" class="frame_tab_right">
                    <input type="text" name="id223">
                    <label sid="sysoptional.table2_exp6"></label>

                    <span id="msg223">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr224">
                <td class="frame_tab_left">
                    <span id="img224" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="sysoptional.table2_td4"></label>
                    </label>
                </td>
                <td id="td224" class="frame_tab_right">
                    <input type="text" name="id224">
                    <label sid="sysoptional.table2_exp6"></label>

                    <span id="msg224">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr299">
                <td class="frame_tab_left">
                    <span id="img299" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="sysoptional.table2_td5"></label>
                    </label>
                </td>
                <td id="td299" class="frame_tab_right">
                    <input type="text" name="id299">
                    <label sid="sysoptional.table2_exp6"></label>

                    <span id="msg299">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr649">
                <td class="frame_tab_left">
                    <span id="img649" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="sysoptional.table2_td6"></label>
                    </label>
                </td>
                <td id="td649" class="frame_tab_right">
                    <input type="text" name="id649">
                    <label sid="sysoptional.table2_exp6"></label>
                    <span id="msg649">&nbsp;</span>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
</fieldset>
<fieldset>
    <legend>
        <label sid="sysoptional.table3_title"></label>
    </legend>
    <div class="frame_tab_layer">
        <table class="cmenutitle" width="100%" cellspacing="0" cellpadding="0" border="0">
            <tbody>
            <tr id="tr139">
                <td class="frame_tab_left">
                    <span id="img139" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="sysoptional.table3_td1"></label>
                    </label>
                </td>
                <td id="td139" class="frame_tab_right">
                    <input id="id139" type="text" name="id139">
                    <span id="msg139">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr140">
                <td class="frame_tab_left">
                    <span id="img140" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="sysoptional.table3_td2"></label>
                    </label>
                </td>
                <td id="td140" class="frame_tab_right">
                    <input id="id140" type="text" name="id140">
                    <span id="msg140">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr141">
                <td class="frame_tab_left">
                    <span id="img141" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="sysoptional.table3_td3"></label>
                    </label>
                </td>
                <td id="td141" class="frame_tab_right">
                    <input id="id141" type="text" name="id141">
                    <span id="msg141">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr142">
                <td class="frame_tab_left">
                    <span id="img142" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="sysoptional.table3_td4"></label>
                    </label>
                </td>
                <td id="td142" class="frame_tab_right">
                    <input id="id142" type="text" name="id142">
                    <span id="msg142">&nbsp;</span>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
</fieldset>
<fieldset>
    <legend>
        <label sid="sysoptional.table6_title"></label>
    </legend>
    <div class="frame_tab_layer">
        <table class="cmenutitle" width="100%" cellspacing="0" cellpadding="0" border="0">
            <tbody>
            <tr id="tr513">
                <td class="frame_tab_left">
                    <span id="img513" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="sysoptional.table6_param1"></label>
                    </label>
                </td>
                <td id="td513" class="frame_tab_right">
                    <input id="id513" type="text" name="id513">
                    <span id="msg513">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr514">
                <td class="frame_tab_left">
                    <span id="img514" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="sysoptional.table6_param2"></label>
                    </label>
                </td>
                <td id="td514" class="frame_tab_right">
                    <input id="id514" type="text" name="id514">
                    <span id="msg514">&nbsp;</span>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
</fieldset>
<fieldset>
    <legend>
        <label sid="sysoptional.table7_title"></label>
    </legend>
    <div class="frame_tab_layer">
        <table class="cmenutitle" width="100%" cellspacing="0" cellpadding="0" border="0">
            <tbody>
            <tr id="tr113">
                <td class="frame_tab_left">
                    <span id="img113" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="sysoptional.table7_td1"></label>
                    </label>
                </td>
                <td id="t113" class="frame_tab_right">
                    <input id="id113_2" type="radio" value="1" onclick="read();" name="id113">
                    <label sid="sysoptional.table7_td1_option2"></label>

                    <span style="padding-left:20px;">&nbsp;</span>
                    <input id="id113_1" type="radio" value="0" onclick="read();" name="id113">
                    <label sid="sysoptional.table7_td1_option1"></label>

                    <span id="msg113">&nbsp;</span>
                </td>
            </tr>
            <tr id="tr114">
                <td class="frame_tab_left">
                    <span id="img114" class="errormsg">&nbsp;</span>
                    <label>
                        <label sid="sysoptional.table7_td2"></label>
                    </label>
                </td>
                <td id="t114" class="frame_tab_right">
                    <input id="id114" type="text" name="id114">
                    <span id="msg114">&nbsp;</span>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
</fieldset>
<fieldset>
    <legend>&#160;<label sid="sysoptional.table8"></label>&#160;</legend>
    <div class="frame_tab_layer">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="cmenutitle">
            <tr id="tr486">
                <td class="frame_tab_left">
                    <span class="errormsg" id="img486">&#160;</span>
                </td>
                <td id="t486" class="frame_tab_right">
                    <input type="radio" name='id486' id="id486_1" value="yes"/>
                    <label sid="sip_trunk.table3_td4_option1"></label>
                    <span style="padding-left:20px;">&#160;</span>
                    <input type="radio" name='id486' id="id486_2" value="no"/>
                    <label sid="sip_trunk.table3_td4_option2"></label>
                    <span id="msg486">&#160;</span>
                </td>
            </tr>
            <tr id="tr487">
                <td class="frame_tab_left">
                    <span class="errormsg" id="img487">&#160;</span>
                    <label sid="sysoptional.table8_td1"></label>
                </td>
                <td id="t487" class="frame_tab_right">
                    <input name='id487' type="text" id="id487" size="40"/>
                    <span sid="msg487">&#160;</span>
                </td>
            </tr>
        </table>
    </div>
</fieldset>

  <div class="submitFooter">
    <script type="text/javascript">
        var buttonInfo = submitFooterButton(1,0);
        $(".submitFooter").html(buttonInfo);
    </script>
</div>
</form>
</div>
</div>
<br>
<div id="helpContainer">
    <div id="help">
        <div>
            <h2>
                <label sid="share.help"></label>
            </h2>
        </div>
        <div id="helpBody">
            <dl>

                <dt class="term">
                    <label sid="sysoptional.table2_td1"></label>
                </dt>
                <dd class="definition">
                    <label sid="sysoptional.table2_td1_step1"></label><br>
                    <label sid="sysoptional.table2_td1_step2"></label><br><br>
                    <label sid="sysoptional.table2_td1_step3"></label><br>
                    <label sid="sysoptional.table2_td1_step4"></label><br><br>
                    <label sid="sysoptional.table2_td1_step5"></label><br>
                    <label sid="sysoptional.table2_td1_step6"></label>
                </dd>
                <dt class="term">
                    <label sid="sysoptional.table2_td2"></label>
                </dt>
                <dd class="definition">
                    <label sid="sysoptional.table2_td2Tip"></label>
                </dd>
                <dt class="term">
                    <label sid="sysoptional.table2_td3"></label>
                </dt>
                <dd class="definition">
                    <label sid="sysoptional.table2_td3Tip"></label>
                </dd>
                <dt class="term">
                    <label sid="sysoptional.table2_td4"></label>
                </dt>
                <dd class="definition">
                    <label sid="sysoptional.table2_td4Tip"></label>
                </dd>
                <dt class="term">
                    <label sid="sysoptional.table2_td5"></label>
                </dt>
                <dd class="definition">
                    <label sid="sysoptional.table2_td5Tip"></label>
                </dd>
                <dt class="term">
                    <label sid="sysoptional.table2_td6"></label>
                </dt>
                <dd class="definition">
                    <label sid="sysoptional.table2_td6Tip"></label>
                </dd>

                <dt class="term">
                    <label sid="sysoptional.table3_td1"></label>
                </dt>
                <dd class="definition">
                    <label sid="sysoptional.table3_td1Tip"></label>
                </dd>
                <dt class="term">
                    <label sid="sysoptional.table3_td2"></label>
                </dt>
                <dd class="definition">
                    <label sid="sysoptional.table3_td2Tip"></label>
                </dd>
                <dt class="term">
                    <label sid="sysoptional.table3_td3"></label>
                </dt>
                <dd class="definition">
                    <label sid="sysoptional.table3_td3Tip"></label>
                </dd>
                <dt class="term">
                    <label sid="sysoptional.table3_td4"></label>
                </dt>
                <dd class="definition">
                    <label sid="sysoptional.table3_td4Tip"></label>
                </dd>

                <dt class="term">
                    <label sid="sysoptional.table8"></label>
                </dt>
                <dd class="definition">
                    <label sid="sysoptional.table8Tip"></label>
                </dd>

                <dt class="term">
                    <label sid="sysoptional.table8_td1"></label>
                </dt>
                <dd class="definition">
                    <label sid="sysoptional.table8_td1_note"></label>
                </dd>

            </dl>

        </div>
    </div>
</div>

<script type="text/javascript">
    $(document).ready(function(){

        var nonames = new Array("submit");
        var sendtext = getSendText(nonames);
        DataRequest("get_json",sendtext,function(data){
            getResult(nonames,data);
            read();
        });


        $("[name=submit]").click(function () {
            $(".errormsg").html('');
            var settext = getSetText(nonames);
            settext=settext.replace(/\#/g,"%23");
            submitform(modules["set_data"],settext);
        });
    });


function read() {
	if($("[name=id113]").attr("checked")) {
		$("#tr114").show();
	}else {
		$("#tr114").hide();
	}if($("#0").attr('checked')) {
		$("#tr84").hide();
		$("#tr83").hide();
		$("#tr181").hide();
		$("#tr165").hide();
		$("#tr92").hide();
	}else if($("#1").attr('checked')) {
		$("#tr84").show();
		$("#tr83").hide();
		$("#tr181").hide();
		$("#tr165").show();
		$("#tr92").hide();
	}else if($("#2").attr('checked')) {
		$("#tr84").hide();
		$("#tr83").show();
		$("#tr181").hide();
		$("#tr165").show();
		$("#tr92").hide();
	}else if($("#3").attr('checked')) {
		$("#tr84").show();
		$("#tr83").hide();
		$("#tr181").show();
		$("#tr165").show();
		$("#tr92").show();
	}if($("[name=id64]").val()=="2833") {
		$("#tr156").show();
	}else {
		$("#tr156").hide();
	}
}
</script>
